package com.rran.study.designpattern.structural.bridge;

/**
 * @author yy
 * @Type Test.java
 * @Desc
 */
public class Test {

    public static void main(String[] args) {
        AbstractPen pen1 = new BigPen(new RedColor());
        AbstractPen pen2 = new SmallPen(new BlueColor());
        pen1.paint();
        pen2.paint();
    }
}